﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Sasc.PV.DAL;
using System.Data.SqlClient;
using Sasc.PV.BLL;
using System.Data;

namespace Sasc.PV.Web.Admin
{
    public partial class SelectDaDing : PVSelectDialogAdminPage
    {
        #region OnInit
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            InitializeControls(GVData, LabPageSum, LabCurrentPage, TxtPageSize, GoPage);
        }
        #endregion

        #region GetGridViewDataSource
        protected override DataSet GetGridViewDataSource(int pageIndex, int pageSize, string searchText)
        {
            return null;
            //return new PvcDaDing().GetList(pageIndex,
            //                               pageSize,
            //                               string.IsNullOrEmpty(searchText) ? "" : string.Format("1=1 and Name Like '%{0}%'", searchText),
            //                               "ID desc");
        }
        #endregion
    }
}